﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace XQ.WeChatOfficialAccount.DAL.Model.Business.SMS
{
    /// <summary>
    /// 短信状态上报模型类
    /// </summary>
    public class StatusReportModel
    {
        /// <summary>
        /// code=-1 时，为空，否则是客户订单号
        /// </summary>
        public string usersmsid { get; set; }
        /// <summary>
        /// 手机号
        /// </summary>
        public string phone { get; set; }
        /// <summary>
        /// -1 为上行短信，0 为短信发送成功，其他值为短信发送失败
        /// </summary>
        public string code { get; set; }
        /// <summary>
        /// code=-1 时，为上行短信内容，否者为 code 的文本解释
        /// </summary>
        public string result { get; set; }
        /// <summary>
        /// 平台给客户分配的企业码
        /// </summary>
        public string spid { get; set; }
        /// <summary>
        /// 短信扩展码
        /// </summary>
        public string destId { get; set; }
        /// <summary>
        /// 本平台生成的短信标识，code = -1 为空
        /// </summary>
        public string smsid { get; set; }
    }
}
